import Mock from "mockjs";
// 引入数据  json文件默认会暴露 不需要咱们自己手动暴露
import banner from "./banner.json";
import floor from "./floor.json";

// 参数 1.请求路径  2.数据
Mock.mock("/mock/banner", { code: 200, data: banner });
Mock.mock("/mock/floor", { code: 200, data: floor });
